<template>
  <avue-form :option="option"
             v-model="form"></avue-form>
</template>

<script setup>
import { ref } from 'vue';

const form = ref({
  map: [113.10235504165291, 41.03624227495205, "内蒙古自治区乌兰察布市集宁区新体路街道顺达源广告传媒"]
});

const option = ref({
  column: [
    {
      label: '坐标',
      prop: 'map',
      type: 'map',
      mapChange: (params) => {
        console.log('高德回调参数', params);
      },
      params: {
        zoom: 10,
        zoomEnable: false,
        dragEnable: false,
      }
    }
  ]
});
</script>
